<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>


</body>
<script>
    console.log(typeof 100);
    console.log(typeof 'abc');
    console.log(typeof false);
    console.log(typeof undefined);
    console.log(typeof null);
    console.log(typeof [100]);
    console.log(typeof {n:1});
    console.log(typeof function(){});
    console.log(typeof new Date());
    console.log(typeof new Error());
    console.log(typeof new Number(2));
    console.log(typeof new String('aaa'));
    console.log(typeof new Boolean(true));

    console.log(100 instanceof Number);
    console.log('dsfsf' instanceof String);
    console.log(false instanceof Boolean);
    console.log(undefined instanceof Object);
    console.log( null instanceof Object);
    console.log([1,2,3] instanceof Array);
    console.log({a:1,b:2,c:3} instanceof Object);
    console.log(function(){console.log('aaa');} instanceof Function);
    





</script>

</html>